package com.mindskip.xzs.model.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author : ruoyu
 * @date : 2021/7/14
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonNaming(value = PropertyNamingStrategy.SnakeCaseStrategy.class)
public class LoginVo{
    @NotBlank(message = "请填写用户名称")
    private String userName;

    @NotBlank(message="请输入密码")
    private String password;
}
